package com.yl.chainStore.entity.dbimport

import com.baomidou.mybatisplus.annotation.IdType
import com.baomidou.mybatisplus.annotation.TableField
import com.baomidou.mybatisplus.annotation.TableId
import com.baomidou.mybatisplus.annotation.TableName
import com.yl.common.annotation.NoArg

/**
 * <p>
 *
 * </p>
 *
 * @author cxw
 * @since 2021-12-29
 */
@NoArg
@TableName("customer_info_db")
data class CustomerInfoDb(

	/**
	 * 病历号
	 */
	@TableId(value = "sick_num", type = IdType.AUTO)
	var sickNum: String? = null,

	/**
	 * 姓名
	 */
	@TableField("real_name")
	var realName: String? = null,

	/**
	 * 昵称
	 */
	@TableField("nick_name")
	var nickName: String? = null,

	/**
	 * 性别
	 */
	@TableField("sex")
	var sex: String? = null,

	/**
	 * 生日
	 */
	@TableField("birth_date")
	var birthDate: String? = null,

	/**
	 * 手机
	 */
	@TableField("mobile")
	var mobile: String? = null,

	/**
	 * 电话
	 */
	@TableField("phone")
	var phone: String? = null,

	/**
	 * 邮箱
	 */
	@TableField("email")
	var email: String? = null,

	/**
	 * QQ
	 */
	@TableField("qq_account")
	var qqAccount: String? = null,

	/**
	 * 微信
	 */
	@TableField("wechat")
	var wechat: String? = null,

	/**
	 * 身份证
	 */
	@TableField("id_card")
	var idCard: String? = null,

	/**
	 * 国际
	 */
	@TableField("nationality")
	var nationality: String? = null,

	/**
	 * 地址
	 */
	@TableField("address")
	var address: String? = null,

	/**
	 * 一级来源
	 */
	@TableField("first_srouce")
	var firstSrouce: String? = null,

	/**
	 * 二级来源
	 */
	@TableField("second_srouce")
	var secondSrouce: String? = null,

	/**
	 * 三级来源
	 */
	@TableField("third_srouce")
	var thirdSrouce: String? = null,

	/**
	 * 备注
	 */
	@TableField("remark")
	var remark: String? = null,

	/**
	 * 标签
	 */
	@TableField("label")
	var label: String? = null,

	/**
	 * 初诊时间
	 */
	@TableField("first_sick_time")
	var firstSickTime: String? = null,

	/**
	 * 初诊医生
	 */
	@TableField("first_sick_doctor")
	var firstSickDoctor: String? = null,

	/**
	 * 责任医生
	 */
	@TableField("master_doctor")
	var masterDoctor: String? = null,

	/**
	 * 咨询师
	 */
	@TableField("consult")
	var consult: String? = null,

	/**
	 * 网电咨询师
	 */
	@TableField("net_consult")
	var netConsult: String? = null,

	/**
	 * 消费总额
	 */
	@TableField("pay_sum")
	var paySum: String? = null,

	/**
	 * 欠费
	 */
	@TableField("own_sum")
	var ownSum: String? = null,

	/**
	 * 其他病历号
	 */
	@TableField("other_sick_num")
	var otherSickNum: String? = null,

	/**
	 * 创建时间
	 */
	@TableField("create_time_str")
	var createTimeStr: String? = null,

	/**
	 * 自由项1
	 */
	@TableField("com_one")
	var comOne: String? = null,

	/**
	 * 自由项2
	 */
	@TableField("com_two")
	var comTwo: String? = null,

	/**
	 * 自由项3
	 */
	@TableField("com_three")
	var comThree: String? = null,

	/**
	 * 创建人
	 */
	@TableField("create_user")
	var createUser: String? = null,

	)
